﻿using UnityEngine;
using System.Collections;

public class RandomRotater : MonoBehaviour {

    private Rigidbody rRigidbody;

    public float tumble = 5f;

    void Start()
    {
        rRigidbody = this.GetComponent<Rigidbody>();

        if (null != rRigidbody)
        {
            Debug.LogError("1111111111111111111");
            rRigidbody.angularVelocity = Random.insideUnitSphere * tumble;
        }
        
    }

    

}
